import asyncio

async def foo():
    print('start')
    await asyncio.sleep(2)
    print('end')
    return '返回值'

# asyncio.run(foo())

async def bar():
    print('执行协程函数内部代码')
    response = await foo()
    print('IO请求结束，结果为',response)

asyncio.run(bar())
